package com.swt.testdemo.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author BleethNie
 * @version 1.0
 * @date 2020/11/11 14:58
 **/
@Data
@ApiModel(value = "后台编辑用户表单")
public class EditUserForm {

    @ApiModelProperty(value = "用户id",example = "17")
    @NotBlank(message = "用户id不可为空")
    private Integer userId;


    @ApiModelProperty(value = "用户名",example = "ewewe")
    @NotBlank(message = "用户名不可为空")
    private String username;

    @ApiModelProperty(value = "密码（123456）",example = "441ec8910c13f24eb3e12263d5ff8f1da329e180f41bdad25f1f01001c9bb882")
    private String password;

    @ApiModelProperty(value = "部门",example = "武汉应急指挥部")
    private String deptName;



    @ApiModelProperty(value = "手机号",example = "257894125")
    private String phone;

    @ApiModelProperty(value = "地址id",example = "420923")
    private String areaId;

    @ApiModelProperty(value = "地区权限",example = "420923")
    private String areaPermission;

    @ApiModelProperty(value = "授权时长",example = "1")
    private Integer expireYear;

}
